<%@page import="com.netcracker.entity.User"%>
<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%  String path = request.getContextPath();
    User currentUser = (User) request.getAttribute("user");
%>
<article id="user_info">
    <header class="elem_bground">
        <h1 id="title">
            Ваш профиль
        </h1>
    </header>
    <section id="info" class="elem_bground">
        <table>
            <tr>
                <th>Логин</th>
                <td><%= currentUser.getLogin()%></td>
            </tr>
            <tr>
                <th>ФИО</th>
                <td><%= currentUser.getFullName()%></td>
            </tr>
            <tr>
                <th>Дата рождения</th>
                <td><%= currentUser.getDateOfBirth().toString()%></td>
            </tr>
            <tr>
                <th>Страна</th>
                <td><%= currentUser.getCountry().toString()%></td>
            </tr>
        </table>
    </section>
    <footer>
        <a class="button" href="">Изменить</a>
    </footer>